package com.example.pkmedical.Activity;

import android.app.Activity;
import android.os.Bundle;

import com.example.pkmedical.R;
import com.example.pkmedical.View.UnlockView;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by Administrator on 2020/img_bottom_fbzl_on/19.
 */

public class LockScreenActivity extends Activity {


    @BindView(R.id.ulv_lock)
    UnlockView ulvLock;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_lock_screen);
        ButterKnife.bind(this);
        initView();
    }

    public void initView() {
        ulvLock.setOnUnlockListener(new UnlockView.OnUnlockListener() {
            @Override
            public void onOpen() {
                finish();
//                overridePendingTransition(R.anim.fade_in, R.anim.fade_out);
            }
        });

    }
}
